package com.account.api.trand;

import com.account.trand.dto.WithholdingDTO;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;

/**
 * Created by a on 2017-9-19.
 */
@RestController
@CrossOrigin
@RequestMapping(value = "/api/account", produces = "application/json;charset=utf-8")
public class TrandApi {
    /**
     * 汇款列表
     * @param withholdingDTO
     * @return
     */
    @ApiOperation(value = "代扣申请接口", notes="代扣申请接口")
    @RequestMapping(value = "/Withholding", method ={RequestMethod.POST,RequestMethod.GET})
    @ResponseBody
    public String withholding(@Valid @RequestBody WithholdingDTO withholdingDTO){

        return "";
    }


}
